<?php    
    $c = new Criteria();
    $caracteristicas = CaracteristicaPeer::doSelect($c);
    if ($metrica->getCaracteristicaId()) {
        $caracteristica_selected = $metrica->getCaracteristicaId();
    } else if (count($caracteristicas)>0){
        $caracteristica_selected = $caracteristicas[0]->getId();
    } else {
        $caracteristica_selected = "";
    }

    echo select_tag('metrica[caracteristica_id]',objects_for_select($caracteristicas,'getId','getNombre',$caracteristica_selected,'include_custom=Seleccione'));
?>
